package com.feib.soeasy.dao;

import com.feib.soeasy.model.Payer;
import com.feib.soeasy.pagination.PaginatedList;

/**
 * @title (#)PayerDao.java<br>
 * @description <br>
 * @author Anson Tsai<br>
 * @version 1.0.0 2010/11/25
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2011/2/6 create by Anson Tsai<br>
 */
public interface PayerDao extends HibernateDao<Payer, Long> {

    /**
     * 
     * @param groupNo
     * @param payerNo
     * @return
     */
    public Payer getPayer(String groupNo, String payerNo);
    
    /**
     * 查詢繳款人資料
     * 
     * @param groupNo 業者代號
     * @param payerName 姓名
     * @param payerPhone 電話
     * @param houseNumber 門牌號碼
     * @param payerMobile 手機
     * @param payerMobile2 
     * @param paginationConfig 分頁條件
     * @return
     */
    public PaginatedList<Payer> queryPaginationByConditions(String groupNo, String payerNo, String payerName, String payerPhone, 
                    String houseNumber, String payerMobile2, PaginatedList<Payer> paginationConfig);
}
